package com.kayt.cyberBar.cuser.business.service;

import javax.ws.rs.Consumes;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;

import com.kayt.cyberBar.common.PageData;
import com.kayt.cyberBar.common.ServerResponse;
import com.kayt.cyberBar.cpublic.business.entity.rsp.vo.WorkRequestOpterateRspVO;
import com.kayt.cyberBar.cuser.business.entity.po.BExamQuota;
import com.kayt.cyberBar.cuser.business.entity.req.vo.WorkExamReqVO;
import com.kayt.cyberBar.cuser.business.entity.rsp.vo.WorkExamRspVO;

@Path("workExamService")
public interface IWorkExamService {

	@GET
	@Path("getWorkRequestOpterateData.do")
	@Produces({ "application/json" + ";charset=UTF-8" })
	@Consumes({ "application/json" + ";charset=UTF-8" })
	ServerResponse<WorkRequestOpterateRspVO> getWorkRequestOpterateData(@QueryParam("") WorkExamReqVO reqVO);

	@POST
	@Path("addWorkRequest.do")
	@Produces({ "application/json" + ";charset=UTF-8" })
	@Consumes({ "application/json" + ";charset=UTF-8" })
	ServerResponse<WorkExamRspVO> addWorkRequest(WorkExamReqVO reqVO);

	@GET
	@Path("getWorkRequestByStore.do")
	@Produces({ "application/json" + ";charset=UTF-8" })
	@Consumes({ "application/json" + ";charset=UTF-8" })
	ServerResponse<PageData<WorkExamRspVO>> getWorkRequestByStore(@QueryParam("") WorkExamReqVO reqVO);

	@POST
	@Path("examWorkRequest.do")
	@Produces({ "application/json" + ";charset=UTF-8" })
	@Consumes({ "application/json" + ";charset=UTF-8" })
	ServerResponse<WorkExamRspVO> examWorkRequest(WorkExamReqVO reqVO);

	@GET
	@Path("findByStoreCode.do")
	@Produces({ "application/json" + ";charset=UTF-8" })
	@Consumes({ "application/json" + ";charset=UTF-8" })
	ServerResponse<BExamQuota> findByStoreCode(@QueryParam("") WorkExamReqVO reqVO);

	@POST
	@Path("updateExamQuota.do")
	@Produces({ "application/json" + ";charset=UTF-8" })
	@Consumes({ "application/json" + ";charset=UTF-8" })
	ServerResponse<String> updateExamQuota(WorkExamReqVO reqVO);
}
